﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000791 RID: 1937
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetPlatformPlayerInfoCsReq : IMessage<GetPlatformPlayerInfoCsReq>, IMessage, IEquatable<GetPlatformPlayerInfoCsReq>, IDeepCloneable<GetPlatformPlayerInfoCsReq>, IBufferMessage
	{
		// Token: 0x170018BD RID: 6333
		// (get) Token: 0x0600570B RID: 22283 RVA: 0x000EB27D File Offset: 0x000E947D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetPlatformPlayerInfoCsReq> Parser
		{
			get
			{
				return GetPlatformPlayerInfoCsReq._parser;
			}
		}

		// Token: 0x170018BE RID: 6334
		// (get) Token: 0x0600570C RID: 22284 RVA: 0x000EB284 File Offset: 0x000E9484
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetPlatformPlayerInfoCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170018BF RID: 6335
		// (get) Token: 0x0600570D RID: 22285 RVA: 0x000EB296 File Offset: 0x000E9496
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetPlatformPlayerInfoCsReq.Descriptor;
			}
		}

		// Token: 0x0600570E RID: 22286 RVA: 0x000EB29D File Offset: 0x000E949D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlatformPlayerInfoCsReq()
		{
		}

		// Token: 0x0600570F RID: 22287 RVA: 0x000EB2B0 File Offset: 0x000E94B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlatformPlayerInfoCsReq(GetPlatformPlayerInfoCsReq other) : this()
		{
			this.platform_ = other.platform_;
			this.jFPDPHNFBKP_ = other.jFPDPHNFBKP_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005710 RID: 22288 RVA: 0x000EB2E6 File Offset: 0x000E94E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlatformPlayerInfoCsReq Clone()
		{
			return new GetPlatformPlayerInfoCsReq(this);
		}

		// Token: 0x170018C0 RID: 6336
		// (get) Token: 0x06005711 RID: 22289 RVA: 0x000EB2EE File Offset: 0x000E94EE
		// (set) Token: 0x06005712 RID: 22290 RVA: 0x000EB2F6 File Offset: 0x000E94F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlatformType Platform
		{
			get
			{
				return this.platform_;
			}
			set
			{
				this.platform_ = value;
			}
		}

		// Token: 0x170018C1 RID: 6337
		// (get) Token: 0x06005713 RID: 22291 RVA: 0x000EB2FF File Offset: 0x000E94FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<string> JFPDPHNFBKP
		{
			get
			{
				return this.jFPDPHNFBKP_;
			}
		}

		// Token: 0x06005714 RID: 22292 RVA: 0x000EB307 File Offset: 0x000E9507
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetPlatformPlayerInfoCsReq);
		}

		// Token: 0x06005715 RID: 22293 RVA: 0x000EB318 File Offset: 0x000E9518
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetPlatformPlayerInfoCsReq other)
		{
			return other != null && (other == this || (this.Platform == other.Platform && this.jFPDPHNFBKP_.Equals(other.jFPDPHNFBKP_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005716 RID: 22294 RVA: 0x000EB368 File Offset: 0x000E9568
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Platform != PlatformType.Editor)
			{
				num ^= this.Platform.GetHashCode();
			}
			num ^= this.jFPDPHNFBKP_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005717 RID: 22295 RVA: 0x000EB3BB File Offset: 0x000E95BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005718 RID: 22296 RVA: 0x000EB3C3 File Offset: 0x000E95C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005719 RID: 22297 RVA: 0x000EB3CC File Offset: 0x000E95CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.jFPDPHNFBKP_.WriteTo(ref output, GetPlatformPlayerInfoCsReq._repeated_jFPDPHNFBKP_codec);
			if (this.Platform != PlatformType.Editor)
			{
				output.WriteRawTag(48);
				output.WriteEnum((int)this.Platform);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600571A RID: 22298 RVA: 0x000EB41C File Offset: 0x000E961C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Platform != PlatformType.Editor)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Platform);
			}
			num += this.jFPDPHNFBKP_.CalculateSize(GetPlatformPlayerInfoCsReq._repeated_jFPDPHNFBKP_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600571B RID: 22299 RVA: 0x000EB470 File Offset: 0x000E9670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetPlatformPlayerInfoCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Platform != PlatformType.Editor)
			{
				this.Platform = other.Platform;
			}
			this.jFPDPHNFBKP_.Add(other.jFPDPHNFBKP_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600571C RID: 22300 RVA: 0x000EB4BD File Offset: 0x000E96BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600571D RID: 22301 RVA: 0x000EB4C8 File Offset: 0x000E96C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Platform = (PlatformType)input.ReadEnum();
					}
				}
				else
				{
					this.jFPDPHNFBKP_.AddEntriesFrom(ref input, GetPlatformPlayerInfoCsReq._repeated_jFPDPHNFBKP_codec);
				}
			}
		}

		// Token: 0x04002201 RID: 8705
		private static readonly MessageParser<GetPlatformPlayerInfoCsReq> _parser = new MessageParser<GetPlatformPlayerInfoCsReq>(() => new GetPlatformPlayerInfoCsReq());

		// Token: 0x04002202 RID: 8706
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002203 RID: 8707
		public const int PlatformFieldNumber = 6;

		// Token: 0x04002204 RID: 8708
		private PlatformType platform_;

		// Token: 0x04002205 RID: 8709
		public const int JFPDPHNFBKPFieldNumber = 3;

		// Token: 0x04002206 RID: 8710
		private static readonly FieldCodec<string> _repeated_jFPDPHNFBKP_codec = FieldCodec.ForString(26U);

		// Token: 0x04002207 RID: 8711
		private readonly RepeatedField<string> jFPDPHNFBKP_ = new RepeatedField<string>();
	}
}
